package com.rhtchr.angelbaby.domain;

import java.sql.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "t_pay")
public class PayInfo {
	private long id;
	private long customerId;
	private String mobileNumber;
	private long businessType;
	private long acquireType;
	private long payChannel;
	private float payAmount;
	private Date businessStartDay;
	private Date businessEndDay;
	private Date payDay;
	private Date insertTime;
	private Date updateTime;
	private int updateUserId;

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	@Column(name = "customer_id")
	public long getCustomerId() {
		return customerId;
	}

	public void setCustomerId(long customerId) {
		this.customerId = customerId;
	}

	@Column(name = "mobile_number")
	public String getMobileNumber() {
		return mobileNumber;
	}

	public void setMobileNumber(String mobileNumber) {
		this.mobileNumber = mobileNumber;
	}

	@Column(name = "business_type")
	public long getBusinessType() {
		return businessType;
	}

	public void setBusinessType(long businessType) {
		this.businessType = businessType;
	}

	@Column(name = "acquire_type")
	public long getAcquireType() {
		return acquireType;
	}

	public void setAcquireType(long acquireType) {
		this.acquireType = acquireType;
	}

	@Column(name = "pay_channel")
	public long getPayChannel() {
		return payChannel;
	}

	public void setPayChannel(long payChannel) {
		this.payChannel = payChannel;
	}

	@Column(name = "pay_amount")
	public float getPayAmount() {
		return payAmount;
	}

	public void setPayAmount(float payAmount) {
		this.payAmount = payAmount;
	}

	@Column(name = "business_start_day")
	public Date getBusinessStartDay() {
		return businessStartDay;
	}

	public void setBusinessStartDay(Date startDay) {
		this.businessStartDay = startDay;
	}

	@Column(name = "business_end_day")
	public Date getBusinessEndDay() {
		return businessEndDay;
	}

	public void setBusinessEndDay(Date endDay) {
		this.businessEndDay = endDay;
	}

	@Column(name = "pay_day")
	public Date getPayDay() {
		return payDay;
	}

	public void setPayDay(Date payDay) {
		this.payDay = payDay;
	}

	@Column(name = "insert_time")
	public Date getInsertTime() {
		return insertTime;
	}

	public void setInsertTime(Date insertTime) {
		this.insertTime = insertTime;
	}

	@Column(name = "update_time")
	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	@Column(name = "update_user_Id")
	public int getUpdateUserId() {
		return updateUserId;
	}

	public void setUpdateUserId(int updateUserId) {
		this.updateUserId = updateUserId;
	}
}
